cmake_minimum_required(VERSION 3.5)

project(KalmanFilter LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

find_package(Torch REQUIRED PATHS "/opt/libtorch/share/cmake/Torch")
include_directories( ${TORCH_INCLUDE_DIRS} )


set(SRCS
    ./src/net.cpp
    ./src/utils.cpp
    )
add_executable(KalmanFilter main.cpp ${SRCS})
target_include_directories(${PROJECT_NAME} PRIVATE ./inc )
target_link_libraries(${PROJECT_NAME} ${TORCH_LIBRARIES})
